package com.haiheng.library_base.msg;
import java.io.Serializable;
import java.util.List;

public class MsgEvent implements Serializable {
    private int code;
    private String msg;
    private String topic;


    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }


    @Override
    public String toString() {
        return "MsgEvent{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", topic='" + topic + '\'' +
                '}';
    }
}
